import React from 'react';
import ListEmpty from 'atComponents/ListEmpty';
import intl from '../../../../../../../locale';

export default class NotExist extends React.PureComponent {
  render() {
    return (
      <div className="not-auth-wrapper">
        <div className="not-auth-content">
          <ListEmpty
            image="403"
            content={intl.get({
              id: 'code-assets.projectFiles.containers.notAuth.NoAccessPermission',
              defaultMessage: '无访问权限',
            })}
            description={intl.get({
              id: 'code-assets.projectFiles.containers.notAuth.ContactTheDatabaseAdministratorTo',
              defaultMessage: '请联系库管理员进行添加',
            })}
          />
        </div>
      </div>
    );
  }
}
